package model;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the carrello database table.
 * 
 */
@Entity
@Table(name="carrello")
@NamedQuery(name="Carrello.findAll", query="SELECT c FROM Carrello c")
public class Carrello implements Serializable {
	private static final long serialVersionUID = 1L;

	@EmbeddedId
	private CarrelloPK id;

	public Carrello() {
	}
	
	

	public Carrello(CarrelloPK id) {
		super();
		this.id = id;
	}



	public CarrelloPK getId() {
		return this.id;
	}

	public void setId(CarrelloPK id) {
		this.id = id;
	}

}